﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Workflow.IDAO;
using Workflow.IService;
using Workflow.Model;

namespace Workflow.Service
{
	public class WorkStatusService : IWorkStatusService
	{
		public IWorkStatusDao WorkStatusDao { get; set; }

		public IList<WorkStatus> GetAllWorkStatus()
		{
			return WorkStatusDao.LoadAll().ToList();
		}
		public WorkStatus GetWorkStatus(string id)
		{
			return WorkStatusDao.Get(id);
		}
	}
}
